touch gdb_t
echo "r" > gdb_t
nohup gdb program --command=gdb_t &
